package fr.aracore.domotique.zapi.model.impl;

import fr.aracore.domotique.zapi.model.Sensor;

public class HumSensorDescriptor extends SensorDescriptor {

	@Override
	public String tag() {
		return "hum";
	}

	@Override
	public String libelle() {
		return "humidity";
	}

	@Override
	public String stateDescriptionForSensor(Sensor sensor) {
		return Integer.parseInt(sensor.value())+"%";
	}

}
